import request from '@/utils/request';

/**
 * 向客服发送消息
 * @param {string} message 用户消息
 * @returns {Promise}
 */
export function sendMessageToSupport(message) {
  return request({
    url: '/api/support/message',
    method: 'POST',
    data: { message },
  });
}
